export interface GetUserListApiParams {
    page: number;
    limit: number;
    username: string;
}

export interface UserItem {
id?: number;
gmtCreate?: string;
gmtModified?: string;
username: string; // 用户名
nickName: string; // 用户昵称
password: string; // 用户密码
roleName?: string; // 角色名称
}

export type UserList = UserItem[];

export interface GetUserListApiResponse {
items: UserList;
total: number;
}

export interface RoleItem{
    id:number,
    roleName:string
}

export type RoleList = RoleItem[]

export interface GetUserRoleResponse{
    assignRoles:RoleList;
    allRolesList : RoleList
}